package store

import (
	"auth/model"
	"auth/model/entity"
)

type IUserJob interface {
	Create(e *entity.UserJob) (int64, error)
	List(in *model.UserJobListRequest) (int, []*entity.UserJob, error)
	SetUserJobs(userId int64, authorityIds []int64) error
	DeleteByUserId(id int64) error
	CheckJobExistUser(jobId int64) (int64, error)
}
